package com.csap.framework.oauth2.server.model;

import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import com.csap.framework.oauth2.server.entity.ClientScopeEntity;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * 客户端作用域
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "客户端作用域", value = "clientScope对象")
@Description(value = "客户端作用域Model")
public class ClientScopeModel extends CloneModel<ClientScopeModel, ClientScopeEntity> {
    @ApiModelProperty(description = "主键", value = "主键")
    private Long id;
    @ApiModelProperty(description = "作用域ID", value = "作用域ID")
    private Long scopeId;
    @ApiModelProperty(description = "客户端ID", value = "客户端ID")
    private String clientId;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "授权是否显示文字", value = "授权是否显示文字")
    private Integer show;
    @ApiModelProperty(description = "授权显示文字的内容", value = "授权显示文字的内容")
    private String showText;
    @ApiModelProperty(value = "作用域")
    private String scope;
}
